import http from "@/http"

export const getOrderListApi = (
    params: any
  ):RES<IOrderResult<IOrderModel>> => http.get("/order/list", { params });
export const getOrderDetailListApi = (
    params: number
  ):RES<IOrderDetialModel<HistoryList,OrderItemList>> => http.get(`/order/${ params }`);